package cn.wolfcode.service;

import cn.wolfcode.domain.TravelComment;
import cn.wolfcode.domain.UserInfo;
import cn.wolfcode.query.TravelCommentQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ITravelCommentService {
    void insert(TravelComment travelComment);
    void update(TravelComment travelComment);
    void delete(String id);
    TravelComment get(String id);
    List<TravelComment> listAll();

    Page query(TravelCommentQuery qo);


    List<TravelComment> findByTravelId(String travelId);
}
